﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace SimpleGPSApp.Base
{
    public class Settings
    {
        [XmlElement]
        public int PositionLogFrequency = 5000;

        [XmlElement]
        public LogType LogingType = LogType.Off;

        /// <summary>
        /// Distance precision. If counted distance is higher than this value
        /// position will be written / send. 
        /// </summary>
        [XmlElement]
        public int DistancePrecision = 15;
    }
}
